package com.sz.common.base.i18n;

import org.springframework.context.annotation.Bean;
import org.springframework.context.support.ResourceBundleMessageSource;

/**
 * Function: I18nMessageBeans <br>
 * Author: Charles <br>
 * Date: 2016-12-07 16:21:00
 */
public class I18nMessageBeans {

    @Bean(name = "messageSource")
    public ResourceBundleMessageSource getMessageResource() {
        ResourceBundleMessageSource messageSource = new ResourceBundleMessageSource();
        return messageSource;
    }
}
